// (Convert feet into meters) Write a program that reads a number in feet, converts it 
// to meters, and displays the result. One foot is 0.305 meter. Here is a sample run:

import java.util.Scanner;

public class test23 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("Enter a value for feet: ");
        double feet = input.nextDouble();
        
        // 将英尺转换为米（1英尺 = 0.305米）
        double meters = feet * 0.305;
        
        // 显示结果，保留4位小数
        System.out.printf("%.1f feet is %.4f meters", feet, meters);
        
        input.close();
    }
}